package entity;

import java.util.Date;

public class User {
    private int uid;
    private String uname;
    private String uphonenum;
    private Date udate;
    private String ucardnum;
    private String url;
    private int fennum;
    private int friendnum;
    private String youxiang;
    private String shengri;
    private String gender;
    private String zhuangtai;
    private  String zongjiao;
    private  String zhiye;
    private  String xueli;
    private String beizhu;
    private String upwd;
    private String dizhi;

    public String getDizhi() {
        return dizhi;
    }

    public void setDizhi(String dizhi) {
        this.dizhi = dizhi;
    }

    public String getBeizhu() {
        return beizhu;
    }

    public void setBeizhu(String beizhu) {
        this.beizhu = beizhu;
    }

    public String getXueli() {
        return xueli;
    }

    public void setXueli(String xueli) {
        this.xueli = xueli;
    }

    public String getZhiye() {
        return zhiye;
    }

    public void setZhiye(String zhiye) {
        this.zhiye = zhiye;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", uphonenum='" + uphonenum + '\'' +
                ", udate=" + udate +
                ", ucardnum='" + ucardnum + '\'' +
                ", url='" + url + '\'' +
                ", fennum=" + fennum +
                ", friendnum=" + friendnum +
                ", youxiang='" + youxiang + '\'' +
                ", shengri='" + shengri + '\'' +
                ", gender='" + gender + '\'' +
                ", zhuangtai='" + zhuangtai + '\'' +
                ", zongjiao='" + zongjiao + '\'' +
                ", zhiye='" + zhiye + '\'' +
                ", xueli='" + xueli + '\'' +
                ", beizhu='" + beizhu + '\'' +
                ", dizhi='" + dizhi + '\'' +
                ", comnum=" + comnum +
                ", upwd='" + upwd + '\'' +
                '}';
    }

    public String getYouxiang() {
        return youxiang;
    }

    public void setYouxiang(String youxiang) {
        this.youxiang = youxiang;
    }

    public String getShengri() {
        return shengri;
    }

    public void setShengri(String shengri) {
        this.shengri = shengri;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getZhuangtai() {
        return zhuangtai;
    }

    public void setZhuangtai(String zhuangtai) {
        this.zhuangtai = zhuangtai;
    }

    public String getZongjiao() {
        return zongjiao;
    }

    public void setZongjiao(String zongjiao) {
        this.zongjiao = zongjiao;
    }
    private int comnum;//数据库不变添加此字段用来记录共同好友数量

    public User() {
    }

    public User(int uid) {
        this.uid = uid;
    }

    public int getComnum() {
        return comnum;
    }

    public void setComnum(int comnum) {
        this.comnum = comnum;
    }


    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUphonenum() {
        return uphonenum;
    }

    public void setUphonenum(String uphonenum) {
        this.uphonenum = uphonenum;
    }

    public Date getUdate() {
        return udate;
    }

    public void setUdate(Date udate) {
        this.udate = udate;
    }

    public String getUcardnum() {
        return ucardnum;
    }

    public void setUcardnum(String ucardnum) {
        this.ucardnum = ucardnum;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getFennum() {
        return fennum;
    }

    public void setFennum(int fennum) {
        this.fennum = fennum;
    }

    public int getFriendnum() {
        return friendnum;
    }

    public void setFriendnum(int friendnum) {
        this.friendnum = friendnum;
    }

}
